/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 东莞呵呵
 * Date:2022-06-09
 * Time:14:10
 */
public class TestDemo {
    public static void main(String[] args) {
        try{
            throw new NumberFormatException();
        }catch (NumberFormatException e){
            System.out.println("捕捉到数据转换异常");
        }catch (Exception e){
            System.out.println("其他异常触发");
        }finally {
            System.out.println("运算结束，清理程序资源");
        }
    }
}
